{template 'common/header'}
<div id="brand-detail">
    <style type="text/css">
        @charset "utf-8";
        html {
            background: #FFF;
            color: #000;
            font-size: 14px;
        }

        *{
            margin: 0;
            padding: 0;
            text-decoration: none;
            list-style: none;
        }
        p{
            margin:0;
            padding:0;
        }
        div{
            box-sizing: border-box;
        }
        .header{
            position: relative;
            width:100%;
        }
        .header-bigimg{
            width:100%;
            height:180px;
            overflow-y: hidden;
        }
        .header-bigimg img{
            width:100%;
            height:auto;
        }
        .header-logo{
            position: absolute;
            right:2%;
            bottom:-20%;
            width:80px;
            height:80px;
            border:4px solid #ccc;
        }
        .header-logo img{
            width:100%;
            height:100%;
        }
        .brand-intro{
            width:100%;
            padding:15px;
        }
        .brand-name{
            color: #555;
            font-size: 1.3em;
            line-height: 2.5em;

        }
        .brand-det p{
            line-height: 1.6em;
            font-size: 1em;
            color: #666;
            text-align: justify;
        }
        .shop-intro{
            padding:15px;
            width:100%;
            margin:20px 0;
        } 
        .shop-info{
            line-height: 1.8em;
            font-size: 1.1em;
            font-weight: 700;
            color: #49494a;
        }


    </style>
    <div class="header">
        <div class="header-bigimg">
            <img src="{$detail['thumb']}" alt="" >
        </div>
        <div class="header-logo">
            <img src="{php echo tomedia($detail['brandlogo'])}" alt="" >
        </div>
    </div>



    <div class="brand-intro">
        <div class="brand-name">{$detail['title']}</div>
        <div class="brand-det">
            <p>
                {$detail['content']}
            </p>
        </div>
    </div>

    {php $arr = json_decode($detail['article_attrs'],true)}

    <div class="shop-intro">
        <p class="shop-info">店铺地址：{$arr['街区位置']}{$arr['店铺位置']}</p>
        <p class="shop-info">营业时间：10:00-22:00</p>
        <p class="shop-info">联系电话：029-0000000</p>
    </div>

</div>
{template 'common/footer'}